using NPOI.SS.Formula.Functions;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 企业基本信息
    /// </summary>
    [Table("JIUSHI_CUSTOMERBASE")]
    public class CustomerbaseEntity
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [Column("F_ID")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [Column("F_CUSTOMERNAME")]
        [MaxLength(50)]
        public string CustomerName { get; set; }





        /// <summary>
        /// 荣誉称号
        /// </summary>
        [Column("F_HONORARYTITLEFIELD")]
        [MaxLength(500)]
        public string HonoraryTitleField { get; set; }

        /// <summary>
        /// 荣誉称号附件关联ID
        /// </summary>
        [Column("F_BUSINESSID")]
        [MaxLength(50)]
        public string BusinessId { get; set; }




        /// <summary>
        /// 账号信息
        /// </summary>
        [Column("F_BASICACCOUNTINFO")]
        [MaxLength(500)]
        public string BasicAccountInfo { get; set; }

        /// <summary>
        /// 	账号信息附件
        /// </summary>
        [Column("F_BASICACCOUNTINFOBUSINESSID")]
        [MaxLength(50)]
        public string BasicAccountInfoBusinessId { get; set; }

        /// <summary>
        /// 	实际经营场所面积
        /// </summary>
        [Column("F_ActualBusinessPreArea")]
        [MaxLength(50)]
        public string ActualBusinessPreArea { get; set; }



        /// <summary>
        /// 主要经营产品
        /// </summary>
        [Column("F_MainProduct")]
        [MaxLength(500)]
        public string MainProduct { get; set; }

        /// <summary>
        /// 	主要经营产品附件
        /// </summary>
        [Column("F_MAINPRODUCTBUSINESSID")]
        [MaxLength(50)]
        public string MainProductBusinessId { get; set; }



        /// <summary>
        /// 主要生产流程
        /// </summary>
        [Column("F_MainProductProcess")]
        [MaxLength(500)]
        public string MainProductProcess { get; set; }

        /// <summary>
        /// 	主要生产流程附件
        /// </summary>
        [Column("F_MainProductProcessBusinessId")]
        [MaxLength(50)]
        public string MainProductProcessBusinessId { get; set; }



        /// <summary>
        /// 手机号
        /// </summary>
        [Column("F_MOBILEPHONE")]
        [MaxLength(50)]
        public string MobilePhone { get; set; }

        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        [Column("F_SOCIALCREDITCODE")]
        [MaxLength(50)]
        public string SocialCreditCode { get; set; }

        /// <summary>
        /// 成立日期
        /// </summary>
        [Column("F_ESTABLISHMENTDATE")]
        public DateTime? EstablishmentDate { get; set; }

        /// <summary>
        /// 法定代表人
        /// </summary>
        [Column("F_LEGALREPRESENTATIVE")]
        [MaxLength(255)]
        public string LegalRepresentative { get; set; }

        /// <summary>
        /// 注册资本
        /// </summary>
        [Column("F_REGISTEREDCAPITAL")]
        public decimal? RegisteredCapital { get; set; }

        /// <summary>
        /// 注册地址
        /// </summary>
        [Column("F_REGISTEREDADDRESS")]
        [MaxLength(255)]
        public string RegisteredAddress { get; set; }

        /// <summary>
        /// 企业简介
        /// </summary>
        [Column("F_CUSTOMERPROFILE")]
        [MaxLength(65535)]
        public string CustomerProfile { get; set; }

        /// <summary>
        /// 行业分类
        /// </summary>
        [Column("F_INDUSTRYCLASSIFICATION")]
        [MaxLength(255)]
        public string IndustryClassification { get; set; }

        /// <summary>
        /// 实际经营地址
        /// </summary>
        [Column("F_ACTUALBUSINESSADDRESS")]
        [MaxLength(255)]
        public string ActualBusinessAddress { get; set; }

        /// <summary>
        /// 实际控制人ID
        /// </summary>
        [Column("F_ACTUALCONTROLLERID")]
        [MaxLength(50)]
        public string ActualControllerId { get; set; }

        /// <summary>
        /// 主要经营产品
        /// </summary>
        [Column("F_MAINPRODUCTS")]
        [MaxLength(65535)]
        public string MainProducts { get; set; }

        /// <summary>
        /// 参保员工人数
        /// </summary>
        [Column("F_INSUREDEMPLOYEECOUNT")]
        public int? InsuredEmployeeCount { get; set; }

        /// <summary>
        /// 非参保员工人数
        /// </summary>
        [Column("F_NONINSUREDEMPLOYEECOUNT")]
        public int? NonInsuredEmployeeCount { get; set; }

        /// <summary>
        /// 兼职员工人数
        /// </summary>
        [Column("F_PARTTIMEEMPLOYEECOUNT")]
        public int? PartTimeEmployeeCount { get; set; }

        /// <summary>
        /// 当前状态  0：未审核 1：已审核  2：已分配 3:已终止
        /// </summary>
        [Column("F_CURRENTSTATE")]
        public int? CurrentState { get; set; }




        /// <summary>
        /// 合伙人ID
        /// </summary>
        [Column("F_PARTNERUSERID")]
        [MaxLength(50)]
        public string PartnerUserId { get; set; }


        /// <summary>
        /// 合伙人名称
        /// </summary>
        [Column("F_PARTNERUSERREALNAME")]
        [MaxLength(50)]
        public string PartnerUserRealName { get; set; }




        /// <summary>
        /// 排序
        /// </summary>
        [Column("F_SORTCODE")]
        public int? SortCode { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        [Column("F_ENABLEDMARK")]
        public int? EnabledMark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("F_CREATORTIME")]
        public DateTime? CreatorTime { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        [Column("F_CREATORUSERID")]
        [MaxLength(50)]
        public string CreatorUserId { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        [Column("F_CREATORUSER")]
        [MaxLength(50)]
        public string CreatorUser { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [Column("F_LASTMODIFYTIME")]
        public DateTime? LastModifyTime { get; set; }

        /// <summary>
        /// 修改用户
        /// </summary>
        [Column("F_LASTMODIFYUSERID")]
        [MaxLength(50)]
        public string LastModifyUserId { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        [Column("F_DELETEMARK")]
        public int? DeleteMark { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("F_DELETETIME")]
        public DateTime? DeleteTime { get; set; }

        /// <summary>
        /// 删除用户
        /// </summary>
        [Column("F_DELETEUSERID")]
        [MaxLength(50)]
        public string DeleteUserId { get; set; }


        /// <summary>
        /// 隐藏字段
        /// </summary>
        [Column("F_HIDENAME")]
        [MaxLength(50)]
        public string HideName { get; set; }


        /// <summary>
        /// 保留配置信息
        /// </summary>
        [Column("F_ComConfig")]
        public string ComConfig { get; set; }

        /// <summary>
        /// 联系人名称
        /// </summary>
        [Column("F_LinkName")]
        [MaxLength(50)]
        public string LinkName { get; set; }

        /// <summary>
        /// 企业服务模式 1:顾问服务 2：数字化服务。  3：管家服务
        /// </summary>
        [Column("F_Type")]
        public int? Type { get; set; }
        
    }
}
